// File: src/game/territory/Territory.cpp
#include "Territory.h"
#include <map>

std::string Territory::getName() const {
    static const std::map<TerritoryType, std::string> names = {
        {TerritoryType::FOREST, "森林"},
        {TerritoryType::MOUNTAIN, "山脉"},
        {TerritoryType::RIVER, "河流"},
        {TerritoryType::PLAIN, "平原"},
        {TerritoryType::CASTLE, "城堡"},
        {TerritoryType::DESERT, "沙漠"}
    };
    
    auto it = names.find(type);
    return it != names.end() ? it->second : "未知领地";
}
